Skip to content

feat: add index115 consumer service#24

Merged
power721 merged 2 commits into
mainfrom
feat/index115-consumer
Jun 22, 2026
Merged

feat: add index115 consumer service#24
power721 merged 2 commits into
mainfrom
feat/index115-consumer

Conversation

@power721

Copy link
Copy Markdown
Owner

Summary

  • add the index115 consumer service with browse, search, link, and read-only WebDAV endpoints
  • wire index115 runtime/config/bootstrap into PowerList and add sqlite plus bleve backed search handling
  • harden the consumer runtime by degrading when bleve is unavailable, tightening error mapping, fixing manifest path resolution, and cleaning up transferred 115 files by received file id

Test Plan

  • go test ./internal/index115 -v
  • go test ./internal/bootstrap -run 'TestInitIndex115Service(ReturnsErrorWhenManifestMissing|UsesConfiguredPaths|DegradesWhenBleveUnavailable)' -v
  • go test ./server/handles -run 'TestIndex115(SearchRejectsEmptyQuery|BrowseRootReturnsSuccess|LinkBindsRequestBody|SearchReturns503WhenSearcherUnavailable|LinkReturns404ForMissingFile|LinkReturns401ForInvalidCookie)' -v
  • go test ./server -run 'TestIndex115WebDAV' -v

Notes

  • full go test ./... is currently blocked by pre-existing repository issues and environment dependencies outside this change, including non-constant format string build failures in unrelated packages, missing fuse.h for internal/fuse, and pkg/aria2/rpc tests requiring a local service on port 6800

@github-actions

Copy link
Copy Markdown

⚠️ PR 标题需以 feat(): , docs(): , fix(): , style(): , refactor(): , chore(): 其中之一开头,例如:feat(component): 新增功能
⚠️ The PR title must start with feat(): , docs(): , fix(): , style(): , or refactor(): , chore(): . For example: feat(component): add new feature.

如果跨多个组件,请使用主要组件作为前缀,并在标题中枚举、描述中说明。
If it spans multiple components, use the main component as the prefix and enumerate in the title, describe in the body.

@power721 power721 merged commit 781a685 into main Jun 22, 2026
4 checks passed
@power721 power721 deleted the feat/index115-consumer branch June 22, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant